<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta HTTP-EQUIV="REFRESH" CONTENT="10; index.jsp">
<title>VenComPropWeb - Bienvenido</title>
</head>
<body BGCOLOR="#000000" TEXT="#F0F0F0" LINK="#FFFFFF" VLINK="#00ff00" ALINK="#ffff00">

<p align="left"><img src="./images/icono.JPG"  width="200" height="140" alt="icono.JPG" border="3"></p>
<big><a href="index.jsp" style="text-decoration:none">Inicio</a></big>
<%
   if ((session.getAttribute("username") != null) && (session.getAttribute("first") != null))  {
      String username = session.getAttribute("username").toString();
      String first = null;
%>

<div align="center">
<table>
<tr>
<td valign="top"><h1>Bienvenido <b><%=username%></b></h1></td>          
</tr>
</table>
</div>
	   
<%
      session.setAttribute("first", first);
   } // if
   else {
%>   
<jsp:forward page="index.jsp"/>
<%
   } // else
%>

</body>
</html>
